import 'dart:typed_data';

/// CreateTime 2020/6/5 18:57
/// CreateUser chen 
/// ProjectName flutter_elf
import 'package:flutter_elf/config/component_index.dart';
import 'package:http/http.dart' as Http;
class HttpUtils{

  static Future<String> get(String url)async{
    var res = await Http.get(url);
    return res.body;
  }

  static Future<Uint8List> getFile(String url)async{
    var res = await Http.get(url);
    return res.bodyBytes;
  }

}
/***
    ***/